+2005-06-14 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkwindow.c (gtk_window_parse_geometry):
+ Fix up the example. (#307699, Michal Suchanek)
+
2005-06-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c: Update num_marked_dates as we
+2005-06-14 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkwindow.c (gtk_window_parse_geometry):
+ Fix up the example. (#307699, Michal Suchanek)
+
2005-06-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c: Update num_marked_dates as we
+2005-06-14 Matthias Clasen <mclasen@redhat.com>
+
+ * gtk/gtkwindow.c (gtk_window_parse_geometry):
+ Fix up the example. (#307699, Michal Suchanek)
+
2005-06-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c: Update num_marked_dates as we
* on the window.
*
* <informalexample><programlisting>
+ * #include <gtk/gtk.h>
+ *
+ * static void
+ * fill_with_content (GtkWidget *vbox)
+ * {
+ * /<!-- -->* fill with content... *<!-- -->/
+ * }
+ *
* int
* main (int argc, char *argv[])
* {
- * GtkWidget *window, vbox;
- * GdkGeometry size_hints;
+ * GtkWidget *window, *vbox;
+ * GdkGeometry size_hints = {
+ * 100, 50, 0, 0, 100, 50, 10, 10, 0.0, 0.0, GDK_GRAVITY_NORTH_WEST
+ * };
*
* gtk_init (&argc, &argv);
*
* fill_with_content (vbox);
* gtk_widget_show_all (vbox);
*
- * size_hints = {
- * 100, 50, 0, 0, 100, 50, 10, 10, 0.0, 0.0, GDK_GRAVITY_NORTH_WEST
- * };
- *
* gtk_window_set_geometry_hints (GTK_WINDOW (window),
* window,
* &size_hints,
* fprintf (stderr, "Failed to parse '%s'\n", argv[1]);
* }
*
- * gtk_widget_show_all (window);
- * gtk_main ();
+ * gtk_widget_show_all (window);
+ * gtk_main ();
*
- * return 0;
+ * return 0;
* }
* </programlisting></informalexample>
*